package cn.zkw.service.impl;

import cn.zkw.mapping.IWordsDao;
import cn.zkw.service.WordsService;
import cn.zkw.vo.Words;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WordsServiceImpl implements WordsService {
    @Autowired
    IWordsDao wordsDao;

    @Override
    public int addWords(Words words) {
        return wordsDao.addWords(words);
    }

    @Override
    public Words getWords() {
        return wordsDao.getWords();
    }
}
